package com.myz.app.example.mapper;

import com.myz.app.example.po.Role;

import java.util.List;

/**
 * @author maoyz on 18-4-9.
 */
public interface RoleMapper {

    public Role createRole(Role role);

    public Role updateRole(Role role);

    public void deleteRole(Long roleId);

    public Role findOne(Long roleId);

    public List<Role> findAll();
}
